package com.sand.pro.flinksql_pro.work;

/**
 * Author: tc
 * Desc: 项目配置的常量类
 */
public class CommonConfig {
    //Hbase的命名空间
    public static final String HABSE_SCHEMA = "SAND_REALTIME";

    //Phonenix连接的服务器地址
    public static final String PHOENIX_SERVER="jdbc:phoenix:172.28.246.66,172.28.246.67,172.28.246.68:2181";

    //ClickHouse的URL连接地址
    public static final String CLICKHOUSE_URL="jdbc:clickhouse://172.28.246.66:8123/default";

    //测试环境
    public static final String POSTPRE_URL = "jdbc:postgresql://172.28.246.149:5432/dw";
    public static final String POSTPRE_USER = "postgres";
    public static final String POSTPRE_PWD = "qwe123QWE!@";
    public static final String POSTPRE_DRIVER = "org.postgresql.Driver";

    public static final String KAFKA_SERVER = "172.28.246.66:9092,172.28.246.67:9092,172.28.246.68:9092";
    public static final String DEFAULT_TOPIC = "DEFAULT_DATA";

    //生产环境
//    public static final String POSTPRE_URL="jdbc:postgresql://172.18.154.85:5432/dw";
//    public static final String POSTPRE_USER="postgres";
//    public static final String POSTPRE_PWD="postgres";
//    public static final String POSTPRE_DRIVER="org.postgresql.Driver";
//
//    public static final String KAFKA_SERVER = "172.18.246.71:9092,172.18.246.72:9092,172.18.246.73:9092";
//    public static final String DEFAULT_TOPIC = "DEFAULT_DATA";

}
